﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace HAILN_Y2016CS32ONLINE.Structure_Program.Exer
{
    public partial class Form4 : Form
    {
        public Form4()
        {
            InitializeComponent();
        }

        private void btnxem_Click(object sender, EventArgs e)
        {
            string kieu=cbokieu.Text;
            switch (kieu)
            {
                case ("byte"):
                    textBox1.Text="1 byte";
                    textBox2.Text = "byte";
                    textBox3.Text = "khong dau (0...225) ky tu";
                    break;
                case("char"):
                    textBox1.Text="1 char";
                    textBox2.Text = "char";
                    textBox3.Text = "khong dau (0...458) ky tu";
                    break;
                default:
                    break;
            
            }
        }
    }
}
